package financial.sharing.center.payable.service;

import com.github.pagehelper.PageInfo;
import financial.sharing.center.payable.model.entity.PayableAccrued;
import financial.sharing.center.payable.model.entity.PayableBill;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @ClassName PayableBillService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/18
 * @Version 1.0
 */
public interface PayableBillService {

    Integer getBillNumber(PayableAccrued payableAccrued);

    PageInfo<PayableBill> getAllPayableBill(Integer contractId, Integer accruedId, Integer billId);

    Integer createOnePayableBill(BigDecimal billAmount, String payableCompanyName, String receivableCompanyName);

    Integer compileOnePayableBill(PayableBill payableBill);

    Integer deleteOnePayableBill(Integer id);

    PayableBill getPayableBill(Integer id);

    Map<Integer, BigDecimal> getMapPayableBill();
}
